package com.service;

import com.mapper.P_inforDao;
import com.util.P_infor;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class P_inforService {
    @Resource
    private P_inforDao p_inforDao;

    public P_infor see(String p_account){
        P_infor p_infor=new P_infor();
        p_infor.setpAccount(p_account);
        return p_inforDao.select(p_infor);
    }
    public P_infor selectByPId(String pId){
        P_infor p_infor=new P_infor();
        p_infor.setpId(pId);
        return p_inforDao.selectByPId(p_infor);
    }
}
